package com.sky.business.sys.service;

import com.sky.business.sys.domain.AlarmRecord;
import org.springframework.scheduling.annotation.Async;

import java.io.IOException;
import java.util.Date;

public interface NVRDeviceService {

    void processAlarmNvr(AlarmRecord alarmRecord);

    String downloadRecordByTime(int channelNo, Date startTime, Date endTime) throws IOException, InterruptedException;

    String downloadCatchPicByTime(int channelNo, Date startTime, Date endTime) throws IOException;
}
